home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / 24 aspnet applications / aspnetapplications / cacheform.aspx < prev    next >
Encoding:
ASP.NET Web Form  |  2002-03-18  |  1.2 KB  |  29 lines

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="CacheForm.aspx.vb" Inherits="AspnetApplications.CacheForm" buffer="True" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4.     <HEAD>
  5.         <title>CacheForm</title>
  6.         <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
  7.         <meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
  8.         <meta name="vs_defaultClientScript" content="JavaScript">
  9.         <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  10.     </HEAD>
  11.     <body>
  12.         <form id="Form1" method="post" runat="server">
  13.             <H1>Cache Object Demo</H1>
  14.             <P>This form shows the current contents of the Cache object, and lets you see the 
  15.                 effect of several caching options. To see how the affect the application, you 
  16.                 must assign different values to the CACHE_ACTION compilation constant and 
  17.                 recompile, then attempt to refresh the page and seeing whether the 
  18.                 EmployeeCacheTime cache element changes (you can also see messages in the Debug 
  19.                 window when an item is refreshed).
  20.             </P>
  21.             <P> </P>
  22.             <P>
  23.                 <asp:Label id="lblMessage" runat="server"></asp:Label></P>
  24.             <P>
  25.                 <asp:Label id="lblArea" runat="server"></asp:Label></P>
  26.         </form>
  27.     </body>
  28. </HTML>
  29.